package com.example.springbootsfzy.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 
 * @TableName course_purchase_records
 */
@Data
public class CoursePurchaseRecords implements Serializable {
    /**
     * 
     */
    private Integer purchaseId;

    /**
     * 
     */
    private Integer courseId;

    /**
     * 
     */
    private Integer memberId;

    /**
     * 
     */
    private BigDecimal purchasePrice;

    /**
     * 
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date purchaseTime;

    /**
     * 
     */
    private String status;

    private static final long serialVersionUID = 1L;
}